/**
 * Created by Administrator on 2018/5/8.
 */
import Vue from 'vue'
import Store from '../../src/store/modules/tagsView'
import VueRouter from 'vue-router'
Vue.use(VueRouter)

export default function (res) {
  if (res === -1) {
    Store.commit('changeLoginState', false)
    this.$router.push('/')
  }
}
